import React, { Component } from 'react'

export default class App extends Component {
  state = {
    bannerList: []
  }

  componentDidMount () {
    fetch('http://121.89.205.189/api/banner/list')
      .then(res => res.json())
      .then(res => {
        console.log(res)
        this.setState({
          bannerList: res.data
        })
      })
  }
  render() {
    return (
      <div>
        
      </div>
    )
  }
}
